package org.example;

import java.util.List;

public class TableRowData {
    private int tableIndex;
    private int rowIndex;
    private List<String> cellValues;

    public TableRowData(int tableIndex, int rowIndex, List<String> cellValues) {
        this.tableIndex = tableIndex;
        this.rowIndex = rowIndex;
        this.cellValues = cellValues;
    }

    public int getTableIndex() {
        return tableIndex;
    }

    public int getRowIndex() {
        return rowIndex;
    }

    public List<String> getCellValues() {
        return cellValues;
    }

    @Override
    public String toString() {
        return "表格 " + tableIndex + " - 第 " + rowIndex + " 行: " + cellValues;
    }
}
